<template>
  <el-col
    :span="8"
    class="finance-total"
  >
    <div class="finance-total__content">
      <div class="finance-total__hd">{{data.ownerName}}</div>
      <div class="finance-total__bd">
        <div>应收：{{data.realtimeDataCost}}</div>
        <div>实收：<span class="finance-total__money">{{data.customerCost}}</span></div>
      </div>
    </div>
  </el-col>
</template>

<script>
export default {
  name: "FinanceTotal",
  props: ["data"]
};
</script>

<style lang="scss" scoped>
.finance-total {
  &__content {
    border: 1px solid #ebeef5;
    border-radius: 3px;
    padding: 10px 20px 0;
    margin-bottom: 20px;
  }
  &__hd {
    line-height: 32px;
    font-weight: 700;
    border-bottom: 1px solid #ebeef5;
  }
  &__bd {
    line-height: 28px;
    padding: 10px 0;
  }
  &__money {
    color: #04c1fe;
  }
}
</style>